package com.hehua.CommandPattern;

public class Client {
    public static void main(String[] args) {
        FunctionButton button = new FunctionButton();
        button.setCommand(new ExitCommand());
        button.click();
    }
}
